package com.example.administrator.kotiln.ui

import android.app.Activity
import android.os.Bundle
import android.view.View
import android.widget.TextView
import com.example.administrator.kotiln.R
import kotlinx.android.synthetic.main.activity_head.*

/**
 * Created by Administrator on 2017/8/23.
 */

class SecondsActivity : Activity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_seconds)
        initView()
        initValue()
    }

    private fun initView() {
        val tvs = findViewById<View>(R.id.tvs) as TextView
        tvs.text = resources.getText(R.string.tv1)
    }
    private fun initValue() {
        back.setOnClickListener {
            finish()
        }
    }
}
